package com.hardware.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hardware.dto.ShopDto;
import com.hardware.entity.Shop;

import java.util.List;

public interface ShopService extends IService<Shop> {
    /**
     * 保存商品，并保存商品多种型号
     * @param shopDto
     */
    void saveWithType(ShopDto shopDto);

    ShopDto getByIdWithType(Long id);

    void updateWithType(ShopDto shopDto);

    void removeWithShop(List<Long> ids);

    void addStock(ShopDto shopDto);
}
